package com.qfjy.service.impl;

import com.qfjy.entity.po.MeetingPub;
import com.qfjy.service.MeetingPubService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @ClassName MeetingPubServiceImpl
 * @Description TODO
 * @Author guoweixin
 * @Date 2022/10/18
 * @Version 1.0
 */
@Service
@Slf4j
public class MeetingPubServiceImpl implements MeetingPubService {
    /**
     * TODO 根据会议编号 查询会议信息详情
     *
     * @param pcode 会议编号
     * @return
     */
    @Override
    public MeetingPub selectMeetingPubByPcode(String pcode) {
        //模拟数据库访问查询
        MeetingPub meetingPub=new MeetingPub();

        meetingPub.setStatus((short) 1);
        meetingPub.setSortnum(1);
        meetingPub.setCreateDate(new Date());
        meetingPub.setPcode(pcode);
        meetingPub.setId("1");
        meetingPub.setRemark("SpringCloud是分布式微服务治理框架");
        meetingPub.setPtitle("开始学习SpringCloud");
        meetingPub.setPzone("南区");

        return meetingPub;
    }





}
